import { Dialog } from "vant"
function myDialog(title,confirm,cancle){
    Dialog.confirm({
        title: title
        })
        .then(()=>{
            confirm()
        })
        .catch(() => {
            cancle && cancle()
        });
}




export {
    myDialog
}